package asxpgyp.okhttputil.com.retrofitdemo;

import android.util.Log;

import java.util.List;

/**
 * Created by user on 2017/12/29.
 */

public class Test {

    /**
     * data : [{"publishDate":1514515200,"posterScreenName":"腾讯","url":"https://health.qq.com/a/20171229/014298.htm","content":"蕨菜又叫做龙头菜、如意菜,是山区很常见的山野菜。张湖德说表示,蕨菜富含蛋白质、脂肪、糖类、矿物质和多...","publishDateStr":"2017-12-29T02:40:00","imageUrls":["http://p3.qhmsg.com/dmfd/144_96_/t0120e2c88147c9edef.png?size=561x336"],"commentCount":null,"posterId":null,"title":"你知道吗?餐桌常备7道菜吃出健康长寿","id":"a5356a835038e03fbb21d0cbe0e686c2","tags":null},{"publishDate":1514515047,"posterScreenName":"腾讯大秦网","url":"http://xian.qq.com/a/20171229/013844.htm","content":"更好落实县委主要领导12月22日在信访维稳交通安全调研会上的指示精神,巡特警大队组织召开专项工作会议,成...","publishDateStr":"2017-12-29T02:37:27","imageUrls":["http://p7.qhmsg.com/dmfd/144_96_/t01bb90e0ccc14988a1.jpg?size=640x427"],"commentCount":null,"posterId":null,"title":"吴起巡特警武装盘查 从一小轿车内搜出改装枪支","id":"e76e4b34eaed811ecc62f096feed7b20","tags":null},{"publishDate":1514514480,"posterScreenName":"腾讯","url":"https://health.qq.com/a/20171229/013807.htm","content":"或者与生地黄用袋子盛,浸酒煮饮。桑葚性味甘酸,滋阴补血、生津润燥。既滋补肝肾之阴,又能凉血退热,适用于...","publishDateStr":"2017-12-29T02:28:00","imageUrls":["http://p0.qhmsg.com/dmfd/144_96_/t011d5201e5b67d8b60.jpg?size=600x537"],"commentCount":null,"posterId":null,"title":"你知道吗?冬日保健药因人而异选药膳","id":"62e60fa5e94b3a471d5646f5d76da30c","tags":null},{"publishDate":1514514420,"posterScreenName":"腾讯大燕网","url":"http://hb.jjj.qq.com/a/20171229/013714.htm","content":"多层次的活动,助力普通话全面推广。\"推普活动并不仅仅局限于此,学校的师生们将继续大力推行和规范使用国家通用语言文字,努力践行我们誓言\"让普...","publishDateStr":"2017-12-29T02:27:00","imageUrls":null,"commentCount":null,"posterId":null,"title":"书同文、语同音、人同心 争当普通话代言人","id":"ce3a673e095cff770bddadd4daacddf6","tags":null},{"publishDate":1514514180,"posterScreenName":"腾讯大浙网","url":"http://zj.qq.com/a/20171229/013463.htm","content":"还有一个是本身的内容质量好。\"东野圭吾\"在日本有近50部作品被改编成电影、电视连续剧、SP(单集...","publishDateStr":"2017-12-29T02:23:00","imageUrls":["http://p5.qhmsg.com/dmfd/144_96_/t01c129baafe5a263be.jpg?size=640x330"],"commentCount":null,"posterId":null,"title":"电影《解忧杂货店》上映 90多个东野圭吾IP澎湃而来","id":"bbc034a7639311213921084fda5f34ba","tags":null},{"publishDate":1514513940,"posterScreenName":"腾讯大豫网","url":"http://henan.qq.com/a/20171229/013186.htm","content":"8图","publishDateStr":"2017-12-29T02:19:00","imageUrls":["http://p2.qhmsg.com/dmfd/144_96_/t016097b66aee53ea73.jpg?size=500x333","http://p0.qhmsg.com/dmfd/144_96_/t01e7365aab5dd35c9d.jpg?size=500x374","http://p6.qhmsg.com/dmfd/144_96_/t01629a107add1f36fe.jpg?size=500x375"],"commentCount":null,"posterId":null,"title":"登高、祈福、温泉、滑雪、雪乡一次全搞定 元旦假期玩转尧山旅游目的地","id":"5e049ff6b472212dc1199df676348ef7","tags":null},{"publishDate":1514513940,"posterScreenName":"腾讯","url":"http://health.qq.com/a/20171229/013179.htm","content":"血液循环系统有严重障碍,特别是因脑血管问题而经常头晕的人群也不宜午睡,饱餐后血液涌向消化道,皮肤、消化...","publishDateStr":"2017-12-29T02:19:00","imageUrls":["http://p8.qhmsg.com/dmfd/144_96_/t01bc2641987a0abeeb.jpg?size=600x383"],"commentCount":null,"posterId":null,"title":"睡好养生午觉的6个窍门!3类人睡午觉危险","id":"c9f387c0f917066a9e13d8fa59796a6e","tags":null},{"publishDate":1514513880,"posterScreenName":"腾讯大苏网","url":"http://js.qq.com/a/20171229/013154.htm","content":"被誉为\"鬼才\"的他,所带来的每件作品着实令人赞叹,东方美学与西方艺术的强烈碰撞,在缝隙中诞生了...","publishDateStr":"2017-12-29T02:18:00","imageUrls":["http://p7.qhmsg.com/dmfd/144_96_/t01cdc980d34a9cd169.png?size=538x348"],"commentCount":null,"posterId":null,"title":"《溪山青音》江苏当代山水画邀请展圆满落幕","id":"61b2ad1cf22a821f84c7a0a7851256fe","tags":null},{"publishDate":1514513880,"posterScreenName":"腾讯大燕网","url":"http://hb.jjj.qq.com/a/20171229/013095.htm","content":"4图","publishDateStr":"2017-12-29T02:18:00","imageUrls":["http://p9.qhmsg.com/dmfd/144_96_/t0133fdc9823c96082c.jpg?size=640x854","http://p6.qhmsg.com/dmfd/144_96_/t013c58fe63ac7dadb0.jpg?size=640x854","http://p3.qhmsg.com/dmfd/144_96_/t01fc121048faa871ef.jpg?size=640x854"],"commentCount":null,"posterId":null,"title":"奇怪!保定小偷作案后留\"温馨提示\"","id":"243c7da10921b33b95425b8acd817937","tags":null},{"publishDate":1514513820,"posterScreenName":"腾讯大浙网","url":"http://zj.qq.com/a/20171229/013065.htm","content":"5图","publishDateStr":"2017-12-29T02:17:00","imageUrls":["http://p4.qhmsg.com/dmfd/144_96_/t011b32423e4028ce20.jpg?size=640x334","http://p6.qhmsg.com/dmfd/144_96_/t0190f850ef9ede258f.jpg?size=640x415","http://p6.qhmsg.com/dmfd/144_96_/t011d0032ab05a8b365.jpg?size=640x426"],"commentCount":null,"posterId":null,"title":"鉴中西之往来 展工商之风采 这场诗会别具\"国际范\"","id":"e32c9bf9088d355471a1695330931d15","tags":null}]
     * dataType : news
     * appCode : qihoo
     * hasNext : true
     * pageToken : 2
     * retcode : 000000
     */

    private String dataType;
    private String appCode;
    private boolean hasNext;
    private String pageToken;
    private String retcode;
    private List<DataBean> data;

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public boolean isHasNext() {
        return hasNext;
    }

    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    public String getPageToken() {
        return pageToken;
    }

    public void setPageToken(String pageToken) {
        this.pageToken = pageToken;
    }

    public String getRetcode() {
        return retcode;
    }

    public void setRetcode(String retcode) {
        this.retcode = retcode;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * publishDate : 1514515200
         * posterScreenName : 腾讯
         * url : https://health.qq.com/a/20171229/014298.htm
         * content : 蕨菜又叫做龙头菜、如意菜,是山区很常见的山野菜。张湖德说表示,蕨菜富含蛋白质、脂肪、糖类、矿物质和多...
         * publishDateStr : 2017-12-29T02:40:00
         * imageUrls : ["http://p3.qhmsg.com/dmfd/144_96_/t0120e2c88147c9edef.png?size=561x336"]
         * commentCount : null
         * posterId : null
         * title : 你知道吗?餐桌常备7道菜吃出健康长寿
         * id : a5356a835038e03fbb21d0cbe0e686c2
         * tags : null
         */

        private int publishDate;
        private String posterScreenName;
        private String url;
        private String content;
        private String publishDateStr;
        private Object commentCount;
        private Object posterId;
        private String title;
        private String id;
        private Object tags;
        private List<String> imageUrls;

        public int getPublishDate() {
            return publishDate;
        }

        public void setPublishDate(int publishDate) {
            this.publishDate = publishDate;
        }

        public String getPosterScreenName() {
            return posterScreenName;
        }

        public void setPosterScreenName(String posterScreenName) {
            this.posterScreenName = posterScreenName;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getPublishDateStr() {
            return publishDateStr;
        }

        public void setPublishDateStr(String publishDateStr) {
            this.publishDateStr = publishDateStr;
        }

        public Object getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(Object commentCount) {
            this.commentCount = commentCount;
        }

        public Object getPosterId() {
            return posterId;
        }

        public void setPosterId(Object posterId) {
            this.posterId = posterId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getTags() {
            return tags;
        }

        public void setTags(Object tags) {
            this.tags = tags;
        }

        public List<String> getImageUrls() {
            return imageUrls;
        }

        public void setImageUrls(List<String> imageUrls) {
            this.imageUrls = imageUrls;
        }
    }
    public void show() {
        Log.d("Test", "this:" + this.toString());
    }
}
